package com.qidian.mes.pojo;

/**
 * @Author dqy
 * @Description
 * @Time 2024/4/7 15:58
 */
public class Process {
        private Long processId;//工序ID
        private String processCode;//工序编码
        private String processName;//工序名称
        private Integer processStatus;//工序状态
        private String description;//工序说明
        private String notes;//备注

        // 默认构造函数
        public Process() {
        }

        // 带参数的构造函数
        public Process(Long processId, String processCode, String processName, Integer processStatus, String description, String notes) {
            this.processId = processId;
            this.processCode = processCode;
            this.processName = processName;
            this.processStatus = processStatus;
            this.description = description;
            this.notes = notes;
        }

        // Getters 和 Setters 方法
        public Long getProcessId() {
            return processId;
        }

        public void setProcessId(Long processId) {
            this.processId = processId;
        }

        public String getProcessCode() {
            return processCode;
        }

        public void setProcessCode(String processCode) {
            this.processCode = processCode;
        }

        public String getProcessName() {
            return processName;
        }

        public void setProcessName(String processName) {
            this.processName = processName;
        }

        public Integer getProcessStatus() {
            return processStatus;
        }

        public void setProcessStatus(Integer processStatus) {
            this.processStatus = processStatus;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getNotes() {
            return notes;
        }

        public void setNotes(String notes) {
            this.notes = notes;
        }

        // toString 方法
        @Override
        public String toString() {
            return "ProProcess{" +
                    "processId=" + processId +
                    ", processCode=" + processCode +
                    ", processName='" + processName + '\'' +
                    ", processStatus=" + processStatus +
                    ", description='" + description + '\'' +
                    ", notes='" + notes + '\'' +
                    '}';
        }
    }

